import { defineStore } from "pinia"
import { loginPageKey } from "./keys"

interface ILoginPage {
    isShowLoginPage: boolean
}

export const useLoginPage = defineStore(loginPageKey, {
    state(): ILoginPage {
        return {
            isShowLoginPage: false
        }
    },
    actions: {
        changeShowLoginPage(payload: boolean) {
            this.isShowLoginPage = payload
        }
    }
})